package JAVACORE_TRAINING.OOPS_CONCEPTS.MVCMODEL;

public class Model {
	
	public boolean KiemTraSuTonTaiTK(AccountObject objAcc){
		//C1:
		return (objAcc.getUserName().equals("anv")
						&& objAcc.getPassWord().equals("nothing")) ? true : false;
		/*boolean isFlag = false;
		if(objAcc.getUserName().equals("anv")
				&& objAcc.getPassWord().equals("nothing"))
			isFlag = true;
		else
			isFlag = false;
		return isFlag;*/
	}	
	public boolean KiemTraSoDuTK(AccountObject objAcc){
		return true;
	}	
	public boolean KiemTraTrangThaiKHTK(AccountObject objAcc){
		return true;
	}	
	public boolean KiemTraTrangThaiLockUnLockTK(AccountObject objAcc){
		return true;
	}
}
